package main

import "fmt"

type Teacher struct {
	Name string
	Age  int
	Job  string
}
type Abc int

func main() {
	var a Teacher
	a.Name = "魏正想"
	a.Age = 18
	a.Job = "农民"
	fmt.Println(a)
	var b Teacher
	fmt.Println(b)
	//b := Teacher{
	//    Name: "",
	//    Age:  0,
	//    Job:  "",
	//}
	var c Teacher = Teacher{Name: "www", Age: 30, Job: "nnn"}
	fmt.Println(c)
	var e Teacher = Teacher{"www", 30, "nnn"}
	fmt.Println(e)

	var d *Teacher = new(Teacher)
	d.Name = "111"
	d.Age = 22
	d.Job = "///"
	fmt.Println(*d)

	var abc Abc
	fmt.Println(abc)
	fmt.Printf("%T", abc)
}
